import axios from '../../utils/axios'

// 公开课列表
export const liveOpenList = (params: {  }, method?: string) => {
    return axios({
        url: '/teach/live/open/list',
        method: method || 'get',
        data: {
            ...params
        }
    })
}

// 公开课删除
export const liveOpenDelete = (params: {  }, method?: string) => {
    return axios({
        url: '/teach/live/open/delete',
        method: method || 'get',
        data: {
            ...params
        }
    })
}

// 公开课播放
export const liveOpenPlayer = (params: {  }, method?: string) => {
    return axios({
        url: '/teach/live/open/player',
        method: method || 'get',
        data: {
            ...params
        }
    })
}
